const devReactCdn = [
  'https://unpkg.com/react@18/umd/react.development.js',
  'https://unpkg.com/react-dom@18/umd/react-dom.development.js',
];
const prodReactCdn = [
  'https://unpkg.com/react@18/umd/react.production.min.js',
  'https://unpkg.com/react-dom@18/umd/react-dom.production.min.js',
];
export const links = [
  {
    href: 'https://lib.baomitu.com/antd/5.11.2/reset.min.css',
    rel: 'stylesheet',
  },
];
let cdns = ['https://unpkg.com/dayjs/dayjs.min.js'];

const curEnv = process.env.NODE_ENV;
cdns = cdns.concat(curEnv === 'production' ? prodReactCdn : devReactCdn);

export default cdns;
